<!DOCTYPE html>
<p>This test should not crash.</p>
<div id="outer">
    <div id="host"></div>
</div>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
host.attachShadow({mode: 'open'}).innerHTML = "<style>@import url(notfound.css);</style>";
outer.removeChild(host);
</script>
